package com.ruoyi.web.config;

import com.ruoyi.core.entity.UserContext;
import com.ruoyi.flow.service.FlowUserService;
import com.ruoyi.flow.service.impl.InnerDefaultFlowUserServiceImpl;
import com.ruoyi.web.context.RequestContextHolder;

//@Service // 为了演示，暂时不注入
public class DefultFlowUserServiceImpl extends InnerDefaultFlowUserServiceImpl implements FlowUserService {
    @Override
    public UserContext currentUser() {
        return RequestContextHolder.currentUserContext();
    }
}
